package com.tzbank.entity.backstage;

import com.tzbank.entity.BaseModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.Table;

import javax.persistence.Column;
import javax.persistence.Entity;
import java.io.Serializable;

/**
 * 服务评价配置字段
 * @author 蔡宇钿
 *2018年5月29日
 *更新 蔡宇钿 2018.6.1
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Entity(name = "mb_service_evaluation")
@Table(appliesTo = "mb_service_evaluation", comment = "服务评价表")
public class ServiceEvaluation extends BaseModel implements Serializable {

	private static final long serialVersionUID = -2002138790640168322L;
	/**评价时机**/
	@ApiModelProperty(value = "评价时机")
	@Column(name = "time_evaluation", columnDefinition = "varchar(50) NOT NULL COMMENT '评价时机' ")
	private String evaluation;
	
	/**是否允许匿名**/
	@ApiModelProperty(value = "是否允许匿名")
	@Column(name = "anonymous_flag", columnDefinition = "varchar(10) NOT NULL COMMENT '是否允许匿名' ")
	private String anonymousflag;
	
	/**服务满意度**/
	@ApiModelProperty(value = "服务满意度")
	@Column(name = "satisfaction_flag", columnDefinition = "varchar(20) DEFAULT NULL COMMENT '服务满意度' ")
	private String satisfaction;
	
	/**服务专业性**/
	@ApiModelProperty(value = "服务专业性")
	@Column(name = "professionalosm_flag", columnDefinition = "varchar(20)  DEFAULT NULL COMMENT '服务专业性' ")
	private String professionalosm;
	
	/**礼貌用语**/
	@ApiModelProperty(value = "礼貌用语")
	@Column(name = "politeness_flag", columnDefinition = "varchar(20)  DEFAULT NULL COMMENT '礼貌用语' ")
	private String politeness;
	
	/**受理时效**/
	@ApiModelProperty(value = "受理时效")
	@Column(name = "admissibility_flag", columnDefinition = "varchar(20)  DEFAULT NULL COMMENT '受理时效' ")
	private String admissibility;
	
	/**留言类型**/
	@ApiModelProperty(value = "留言类型")
	@Column(name = "message_type", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '留言类型' ")
	private String messagetype;
	
	/**状态**/
	@ApiModelProperty(value = "状态")
	@Column(name = "status", columnDefinition = "varchar(10) NOT NULL COMMENT '状态' ")
	private String status;
	
	/**操作人**/
	@ApiModelProperty(value = "操作人")
	@Column(name = "operator", columnDefinition = "varchar(50) NOT NULL COMMENT '操作人' ")
	private String operator;
	
	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext1", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext1;
	
	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext2", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext2;
	
	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext3", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext3;
	
	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext4", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext4;
	
	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext5", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext5;
	
}
